package com.whminwei.edu.api.sso.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.req.UniversalIdListReq;
import com.whminwei.common.http.rspn.BaseHttpResponse;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.sso.pojo.fspn.UserFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author wangy
 * @since 2023-10-27
 */
@FeignClient(name = "xzzg-sso-service", contextId = "for-user", configuration = FullHttpRspnConfig.class)
public interface UserClient {

    @PostMapping("/deleteUser")
    BaseHttpResponse deleteUser(@RequestBody UniversalIdListReq universalIdListReq);


    @PostMapping("/getApiUserList")
    FullHttpResponse<UserFspn> getApiUserList();

}
